package com.fanco.learn_datastruct_leetcode.designpattern.flyweight;

/**
 * @author qiaowang 2022/2/16
 * 描述
 */
public class Client {
    public static void main(String[] args) {
        // 创建一个工厂类，
        WebSiteFactory factory = new WebSiteFactory();
        WebSite webSite1 = factory.getWebSiteCategory("新闻");
        webSite1.use();
    }
}
